github.com/klauspost/compress/gzip.Reader.digest (field)
22 uses
github.com/klauspost/compress/gzip (current package)
gunzip.go#L80: digest uint32 // CRC-32, IEEE polynomial (section 8)
gunzip.go#L166: z.digest = crc32.Update(z.digest, crc32.IEEETable, z.buf[:i+1])
gunzip.go#L201: z.digest = crc32.ChecksumIEEE(z.buf[:10])
gunzip.go#L207: z.digest = crc32.Update(z.digest, crc32.IEEETable, z.buf[:2])
gunzip.go#L212: z.digest = crc32.Update(z.digest, crc32.IEEETable, data)
gunzip.go#L236: if digest != uint16(z.digest) {
gunzip.go#L246: z.digest = 0
gunzip.go#L263: z.digest = crc32.Update(z.digest, crc32.IEEETable, p[:n])
gunzip.go#L277: if digest != z.digest || size != z.size {
gunzip.go#L281: z.digest, z.size = 0, 0
gunzip.go#L307: c.z.digest = crc32.Update(c.z.digest, crc32.IEEETable, p)
gunzip.go#L312: return c.z.digest
gunzip.go#L316: c.z.digest = 0
gunzip.go#L323: if z.digest != 0 {
gunzip.go#L352: z.digest = crcWriter.Sum32()
gunzip.go#L355: if digest != z.digest || size != z.size {
gunzip.go#L359: z.digest, z.size = 0, 0
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |